import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

import Index from '../page/index'
import Abstract from '../page/abstract'
import List from '../page/list'
import ListWord from '../page/listWord'
import NotFound from '../page/notFound'

export default new Router({

  routes: [
{
    path: '*',
    component: NotFound
},
{
    path: '/',
      name: Index,
    meta: {
      title: '首页'
    },
    component: Index
    },
{
  path: '/abstract',
  name: Abstract,
  meta: {
    title: '书院简介'
  },
  component: Abstract
},
{
  path:'/list',
  name:List,
  meta:{
    title:''
  },
  component:List
},
{
  path:'/listWord',
  name:ListWord,
  meta:{
    title:''
  },
  component:ListWord
}]
  })

